package com.biz.primus.commodity.vo.merge;

import com.biz.primus.base.constant.Constant;
import com.biz.primus.base.enums.search.ProductSearchSort;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;

/**
 *  @Author: mounan
 *  @Description: 品牌商城商品搜索Vo
 *  @Date: 2017/5/10
 */
public class BrandMallProductSearchRequestVo implements Serializable{

    /**
     * 当前页
     */
    private Integer page = Constant.DEFAULT_PAGE;

    /**
     * 页面大小
     */
    private Integer pageSize = Constant.DEFAULT_PAGE_SIZE;

    /**
     * 商品分类id
     */
    private String categoryId;

    /**
     * 商品品牌id
     */
    private String brandId;

    /**
     * 最近门店编码
     */
    private String depotCode;

    /**
     * 省仓门店编码
     */
    private String warehouseDepotCode;
    /**
     * 用户等级
     */
    private Integer userLevel = Constant.DEFAULT_USER_LEVEL;
    /**
     * geoId
     */
    private Long geoId;

    /**
     * 商品搜索排序
     */
    private ProductSearchSort sort = ProductSearchSort.DEFAULT_SORT;

    public ProductSearchSort getSort() {
        return sort;
    }

    public void setSort(ProductSearchSort sort) {
        this.sort = sort;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }

    public String getDepotCode() {
        return depotCode;
    }

    public void setDepotCode(String depotCode) {
        this.depotCode = depotCode;
    }

    public String getWarehouseDepotCode() {
        return warehouseDepotCode;
    }

    public void setWarehouseDepotCode(String warehouseDepotCode) {
        this.warehouseDepotCode = warehouseDepotCode;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public Long getGeoId() {
        return geoId;
    }

    public void setGeoId(Long geoId) {
        this.geoId = geoId;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
